package cn.edu.zafu.bigdata.x.xiejunjie.例4_8;

public class Dog {
    private int weight;
    public Dog(){
        weight = 42;
    }
    public int getWeight(){
        return weight;
    }
    public void setWeight(int newWeight){
        weight = newWeight;
    }
}
